<?php
namespace api\common\helpers;

class Constant
{
    const LOGIN_USER_CACHE = 'paidan30_login_user';
    const LOGIN_USER_CACHE_ID = 'paidan30_login_user_id';

    const USER_ACTION_CACHE_KEY = 'paidan30_user_actions';

    const RIGHT_QUEUE = 'redis_os_rights';
    const STEP_UNIQUE = 'redis_os_steps';
    const EVENT_INFO_UNIQUE = 'redis_os_events';
    const EVENT_DEADLINE_CALC = 'redis_os_event_deadline';

    const MENU_CATEGORY_LIST = 1;
    const MENU_CATEGORY_URL = 2;
    const MENU_CATEGORY_NORMAL = 3;
    const MENU_CATEGORY_DISPATCHING = 4;

    const USE_TYPE_MANGER = 1;
    const USE_TYPE_LIST = 2;
    const USE_TYPE_USER = 3;
    const USE_TYPE_SUP = 4;

    const USER_SELECTED_ORG = 'user_selected_organization_';

    const MENU_COUNT_CACHE_KEY = 'paidan_menu_status_count_';
}